.room-message-page:last-child {
  padding-bottom: 60px;
}
.room-message-page {
  overflow-y: scroll;
  background-color: #f6f7f9;
  padding: 10px;
  // 通用
  .msg-normal {
    text-align: center;
    margin-top: 20px;
    span {
      padding: 10px;
      background-color: #fff;
      border-radius: 20px;
      color: var(--cp-text3);
    }
  }
  .card {
    width: 100%;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    margin: 20px 0;
    .top {
      border-bottom: 1px solid var(--cp-bg);
      p:nth-child(2) {
        padding: 10px 0;
        font-size: 12px;
        color: var(--cp-text3);
      }
    }
    .btm {
      p {
        padding: 10px 0;
        font-size: 14px;
        color: var(--cp-text1);
        display: flex;
        align-items: center;
        span:nth-child(1) {
          display: block;
          width: 80px;
        }
        span:nth-child(2) {
          color: var(--cp-text3);
        }
      }
    }
  }
  .msg-tip {
    text-align: center;
    margin-top: 20px;
    background-color: #fff;
    padding: 5px;
    border-radius: 20px;
    font-size: 12px;
    p {
      color: var(--cp-primary);
      span {
        color: var(--cp-text3);
      }
    }
  }
  // 发送消息
  .sendMessage {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0;
    position: relative;
    .sanjiao {
      width: 0;
      height: 0;
      border: 10px solid transparent;
      border-left: 10px solid var(--cp-primary);
      position: absolute;
      top: 10px;
      right: 33px;
    }
    .left {
      position: relative;
      p {
        position: absolute;
        top: -20px;
        right: 0;
      }
      .info {
        background-color: #16c2a3;
        color: #fff;
        padding: 10px 20px;
        border-radius: 20px;
      }
    }
    > img {
      width: 40px;
      height: 40px;
      margin-left: 10px;
    }
  }
  .jieshou {
    display: flex;
    margin: 10px 0;
    .info {
      background-color: #fff;
      color: #000;
      padding: 20px 20px;
      border-radius: 20px;
    }
    > img {
      width: 40px;
      height: 40px;
      margin-right: 10px;
    }
  }
  .msg-recipe {
    .content {
      background-color: #fff;
      border-radius: 8px;
      color: var(--cp-tip);
      font-size: 12px;
      flex: 1;
      .head {
        padding: 15px;
        .head-tit {
          display: flex;
          justify-content: space-between;
          > h3 {
            font-weight: normal;
            font-size: 16px;
            color: var(--cp-text1);
          }
        }
        p {
          margin-top: 5px;
        }
      }
      .body {
        padding: 15px 15px 0 15px;
        .msg-item {
          display: flex;
          margin-bottom: 15px;
          .durg {
            flex: 1;
            > p {
              .msg:first-child {
                font-size: 14px;
                color: var(--cp-text1);
                margin-bottom: 5px;
              }
            }
          }
          .num {
            color: var(--cp-text1);
          }
        }
      }
      .foot {
        background-color: var(--cp-plain);
        color: var(--cp-primary);
        font-size: 16px;
        text-align: center;
        height: 42px;
        line-height: 42px;
      }
    }
  }
  .pin {
    width: 100%;
    margin: 20px 0;
    text-align: center;
  }
}
:deep() {
  .van-popup {
    background-color: pink;
  }
}
:root:root {
  --van-popup-background: transparent;
}
